package com.example.testhiber.initPackage.config.model.entity;

import com.example.testhiber.initPackage.config.model.annotation.Des;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
public abstract class BaseDicSelectModel extends SelectModel<String> {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8056952996763236932L;
	
	
	/** The name. */
	@Des("名称")
	@Column(length = 100)
	private String name;
	
	/** The order num. */
	@Des("排序号")
	private int orderNum;	
	
	
	/** The actived. */
	@Des("是否激活")
	private boolean actived;

	
	@Des("字典编码")
	private String dcode;
	@Des("元素唯一id")
	private Long itemid;
	@Des("父元素唯一id")
	private Long pitemid;
	@Des("字典项的唯一id")
	private Long dicid;
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getOrderNum() {
		return orderNum;
	}
	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}
	public boolean isActived() {
		return actived;
	}
	public void setActived(boolean actived) {
		this.actived = actived;
	}
	public String getDcode() {
		return dcode;
	}
	public void setDcode(String dcode) {
		this.dcode = dcode;
	}
	public Long getItemid() {
		return itemid;
	}
	public void setItemid(Long itemid) {
		this.itemid = itemid;
	}
	public Long getPitemid() {
		return pitemid;
	}
	public void setPitemid(Long pitemid) {
		this.pitemid = pitemid;
	}
	public Long getDicid() {
		return dicid;
	}
	public void setDicid(Long dicid) {
		this.dicid = dicid;
	}
	
}
